﻿<cfscript>
/** 
* ORM CETScroll
* 
* @hint "Hibernate persistenter t_cet_scroll. 全国大学外语水平测试成绩信息表" 
* 
*/ 

component 
	displayname="public.service.orm.senate.CETScroll" 
	output=false 
	persistent=true 
	selectBeforeUpdate=true dynamicInsert=true dynamicUpdate=true 
	cacheuse="Transactional" 
	entityname="CETScroll" 
	table="t_cet_scroll"
	{

	property type="string" name="ScrollID" column="scroll_id" fieldtype="id" generator="assigned" hint="准考证号";

	property type="numeric" name="Scroll" column="scroll" hint="总分";
	property type="numeric" name="Listening" column="listening" hint="听力";
	property type="numeric" name="Reading" column="reading" hint="阅读";
	property type="numeric" name="Writing" column="writing" hint="写作";
	property type="numeric" name="Integration" column="integration" hint="综合";

	property type="string" name="Absent" column="absent" hint="缺考标记";

	property name="CET" fieldtype="many-to-one" fkcolumn="exam_id" cfc="CET" hint="水平测试项目";
	property name="Student" fieldtype="many-to-one" fkcolumn="stu_id" cfc="Student" hint="学生";

}
	
</cfscript>